package com.moli.iov.base.model.dto.req;

import com.moli.iov.base.model.UserDto;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import lombok.Data;


/**
 *  车辆监控> 车载终端  变更SIM卡号
 *
 * @author wanghualin
 * @date 2019 -09-25 10:59:50
 */
@Data
public class VehicleTboxUpdateReqDto extends UserDto {

  /**
   * 终端ID
   */
  @NotBlank(message = "tboxId不能为空")
  private String deviceId;

  @NotBlank(message = "sim卡号不能为空")
  @Pattern(regexp = "^\\d{11}|\\d{13}$", message = "必须为11位或13位数字")
  private String simNo;


}
